package com.benz.order.util.animal;

public class AnimalTest2 {
    public static void main(String[] args) {

        animalShout(new Animal(){
            public void shout(){
                System.out.println("<喵喵...>");
            }
        });

    }
    public static void animalShout(Animal animal){
        animal.shout();
    }
}
